package com.ruoyi.common.exception;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 不需要输出日志的异常
 *
 * @author ruoyi
 */
@Data
@NoArgsConstructor
public final class NoLogException extends RuntimeException {
    private static final long serialVersionUID = 1L;

    /**
     * 错误码
     */
    private final Integer code = 500;

    /**
     * 错误提示
     */
    private final String message = "请求处理失败";
}
